package com.modifier;

/**
 * @Author 小闽
 * @Date 2024/8/6 10:54
 * @PackageName: com.modifier
 * @ClassName: Test
 * @Description: 测试修饰符
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
       A a = new A();
       B b = new B();
       a.say();
       b.say();
    }
    public void say(){
        A a = new A();
        a.m1();
        a.m2();
        a.m3();
    }
}
